home *** CD-ROM | disk | FTP | other *** search
-
- RETNCODE : Get Process Return Code Program
- Version 1.04, 12-Jan-1987
- SMG Software
-
- (C) Copyright 1986,1987 by
- Steven Georgiades
- All Rights Reserved
-
-
-
- This program execute the program specified on the command line,
- and will respond with that program's return code. The return code of a
- program can be accessed from within a batch file through the use of the
- IF ERRORLEVEL construct, but DOS provides no means to access these
- codes at the command line. This program fills that void.
-
-
- Command Format:
-
- RETNCODE [d:][path]program.ext [param1 [param2 [...]]]
-
- d: = Optional Drive Letter
- path = Optional Path Specification
- program.ext = Program Name to be Executed
- parm1 = 1st Parameter for program.ext
- parm2 = 1st Parameter for program.ext
-
-
-
- Examples:
-
- RETNCODE C:\MYPROG.COM (Will print the return code returned
- by the program MYPROG.COM located in
- the root directory of drive C:)
-
-
- RETNCODE C:\DOIT.EXE A: (Will print the return code returned
- by the program DOIT.EXE located in
- the root directory of drive C:, with
- command line parameter "A:")
-
- RETNCODE, Version 1.04 Page 2
-
-
-
- This software is distributed as ShareWare. "ShareWare" means that
- you are granted free license to use and copy this software as much as
- you like, within the following restrictions:
-
- 1). It is distributed in its original, unmodified form,
- including program and documentation.
-
- 2). No fee is charged for use, copying or distribution (With
- the exception of nominal "per disk" copying charges, not to
- exceed $6.00 per disk).
-
- 3). The program may not be included with other goods or
- services supplied for a fee, unless written permission to
- do so is obtained in advance from the author.
-
- No registration fees are required for this program, but if you would
- like to have the program customized in some minor way, a nominal fee of
- $10 is required. The fee for major customization is negotiable, but in
- most cases will not exceed $25.
-
- This program is provided AS IS without any warranty, expressed or
- implied, including but not limited to fitfulness for a particular
- purpose.
-
- If you have any questions or comments about this or any other SMG
- program, or if you would like to register any SMG Software, write to me
- at the following address:
-
- Steven M. Georgiades
- SMG Software
- 701-H South Hayward Street
- Anaheim, CA 92804
-
- Or leave a message for me on the Circuit Board:
-
- The Circuit Board RBBS
- SysOp: Dave Kleinschmidt
- (714) 778-0948
- 300/1200/2400 Baud, No Fee
-
- All SMG Software is initially released to the public through the
- Circuit Board. The latest version of any SMG Software can always be
- found there.
-
- A diskette containing all of the latest SMG Software can be obtained by
- sending a check or money order for $6.00 to the above address. Make
- all checks payable to Steven M. Georgiades. Thank you.
-